package cheme.ProcessEditor;

import org.eclipse.gef.LayerConstants;
import org.eclipse.jface.resource.ImageDescriptor;

public interface ChemeConstants
{
	static final String CHEME_LAYER = "CHEME_LAYER";
	static final String CHEME_TAG_LAYER = "CHEME_SCALED_LAYER"; //LayerConstants.HANDLE_LAYER;
	static final String CHEME_UNSCALED_LAYER = "CHEME_UNSCALED_LAYER";
	static final String CHEME_ANNOTATIONS_LAYER = "CHEME_ANNOTATIONS_LAYER";
	static final String CHEME_EQUATIONS_LAYER = "CHEME_EQUATIONS_LAYER";
	
	static final String CREATE_AFTER = "CREATE_AFTER";
//	static final String DELETE_ME_AND_PARENT = "DELETE_ME_AND_PARENT";
	
	static final String REQUEST_MOVE_TAG = "REQUEST_MOVE_TAG";
	
	static final ImageDescriptor DESC_COLLAPSE = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Cheme Collapse.gif");
	static final ImageDescriptor DESC_EXPAND = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Cheme Expand.gif");
	static final ImageDescriptor DESC_MIXER = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Mixer.gif");
	static final ImageDescriptor DESC_SEPARATOR = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Seperator.gif");
	static final ImageDescriptor DESC_PROCESS_UNIT = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Process Unit.gif");
	static final ImageDescriptor DESC_SUBPROCESS = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Subprocess.gif");
	static final ImageDescriptor DESC_STREAM = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Stream.gif");
	static final ImageDescriptor DESC_TAG = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Descriptor Component.gif");
	static final ImageDescriptor DESC_SOURCE = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Source.gif");
	static final ImageDescriptor DESC_SINK = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Sink.gif");
	static final ImageDescriptor DESC_EQUATION = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Equation.gif");
	static final ImageDescriptor DESC_SPLIT_JOIN = ImageDescriptor.createFromFile(ProcessEditor.class, "Icons/Split-Join.gif");
	
	static final String PROP_DIRTY = "PROP_DIRTY";
	
	static final String TOOL_DESC_EPILOGUE = "To create a new instance of this element";
	
	static final String SELECT_TOOL = "click once on this button to select the tool";
	
	static final String PROCESS_UNIT_DESC = TOOL_DESC_EPILOGUE +
			" " + SELECT_TOOL + ", click once in the editor window.";
			//"or " +
			//"\nclick and drag this button onto the editor window.";
		
	static final String PALETTE_MAIN_GROUP_LABEL = "Main Group";
	
	static final String PALETTE_PROCESS_UNIT_GROUP_LABEL = "Process Unit";
		static final String PALETTE_ITEM_MIXER_LABEL = "Mixer";
		static final String PALETTE_ITEM_MIXER_DESC = PROCESS_UNIT_DESC;
		static final String PALETTE_ITEM_SEPARATOR_LABEL = "Separator";
		static final String PALETTE_ITEM_SEPARATOR_DESC = PROCESS_UNIT_DESC;
		static final String PALETTE_ITEM_SPLIT_JOIN_LABEL = "Split/Join";
		static final String PALETTE_ITEM_SPLIT_JOIN_DESC = PROCESS_UNIT_DESC;
		static final String PALETTE_ITEM_PROCESS_UNIT_LABEL = "Process Unit";
		static final String PALETTE_ITEM_PROCESS_UNIT_DESC = PROCESS_UNIT_DESC;
	
	static final String PALETTE_SUBPROCESS_GROUP_LABEL = "Subprocess";
		static final String PALETTE_ITEM_SUBPROCESS_LABEL = "Subprocess";
		static final String PALETTE_ITEM_SUBPROCESS_DESC = TOOL_DESC_EPILOGUE +
			" " + SELECT_TOOL + ", click and drag in the editor window to create a box around the process units that will make up the subprocess.";

	static final String PALETTE_CHEMICAL_STREAM_GROUP_LABEL = "Chemical Stream";
		static final String PALETTE_ITEM_CHEMICAL_STREAM_LABEL = "Chemical Stream";
		static final String PALETTE_ITEM_CHEMICAL_STREAM_DESC = TOOL_DESC_EPILOGUE +
			" " + SELECT_TOOL + ", click once in the editor window, " +
			"on a source process unit or a blank area, " +
			"and click once more on destination process unit or blank area in the editor.";
		
	static final String PALETTE_CHEMICAL_STREAM_TAG_GROUP_LABEL = "Chemical Stream Descriptor";
		static final String PALETTE_ITEM_STREAM_TAG_LABEL = "Stream Descriptor";
		static final String PALETTE_ITEM_STREAM_TAG_DESC = TOOL_DESC_EPILOGUE +
			" " + SELECT_TOOL + ", click once on an existing chemical stream description in the editor window.";
		
	static final String PALETTE_EQUATION_GROUP_LABEL = "Equation";
		static final String PALETTE_ITEM_EQUATION_LABEL = "Equation";
		static final String PALETTE_ITEM_EQUATION_DESC = TOOL_DESC_EPILOGUE +
			" " + SELECT_TOOL + ", click once on the equation editor the main editor window.";
}
	
	
	